/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package crm.clientManagement.session;

import crm.clientManagement.entity.AddressEntity;
import javax.ejb.Stateless;
import javax.ejb.LocalBean;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 *
 * @author ReinforceII
 */
@Stateless
@LocalBean
public class AddressSessionBean {

    @PersistenceContext
    private EntityManager em;
    
    public AddressEntity getAddressById(Long Id){
        
        return em.find(AddressEntity.class, Id);
    }
    
}
